projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
852429d
)
inspector: Make picking objects show them
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 20 Jul 2020 21:30:16 +0000
(17:30 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 20 Jul 2020 21:30:16 +0000
(17:30 -0400)
Changing the selection in the object tree is
not a useful action if we are already in the
object details. Most likely, a user who picks
an object wants to inspect its details, so
just always show them.
Fixes: #1876
gtk/inspector/inspect-button.c
patch
|
blob
|
history
diff --git
a/gtk/inspector/inspect-button.c
b/gtk/inspector/inspect-button.c
index 46f780e797ad7b12e11e81eb974b8e8588a3274a..ed5c2d30997c955948749f9e427cd93afb117c6f 100644
(file)
--- a/
gtk/inspector/inspect-button.c
+++ b/
gtk/inspector/inspect-button.c
@@
-92,7
+92,7
@@
select_widget (GtkInspectorWindow *iw,
{
GtkInspectorObjectTree *wt = GTK_INSPECTOR_OBJECT_TREE (iw->object_tree);
- gtk_inspector_object_tree_
select
_object (wt, G_OBJECT (widget));
+ gtk_inspector_object_tree_
activate
_object (wt, G_OBJECT (widget));
}
static void